package org.vacoor.ticket.bean;

/**
 * 车票查询的时间段
 * eg:00:00--06:00
 */

public enum TimeRegionType {
	ALL("全天","00:00--24:00"),
	ZERO_SIX("凌晨","00:00--06:00"),
	SIX_TWELVE("上午","06:00--12:00"),
	TWELVE_EIGHTEEN("下午","12:00--18:00"),
	EIGHTEEN_TWENTYFOUR("晚上","18:00--24:00");
	
	private String name;
	private String value;
	
	private TimeRegionType(String n,String v) {
		this.name = n;
		this.value = v;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toString() {
		return name + "[" + value + "]";
	}
}
